package edu.xpu.compute.recommend.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import edu.xpu.compute.recommend.entity.SysAdminUser;

@Repository
public interface SysAdminUserRepository extends JpaRepository<SysAdminUser, Long>
			, JpaSpecificationExecutor<SysAdminUser>{

	/**
	 * 根据用户名和密码查找用户
	 * @param name
	 * @param pwd
	 * @return
	 */
	public List<SysAdminUser> findByNameAndPwd(String name, String pwd);
}
